package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.CourseBaseDTO;
import com.xuecheng.api.content.model.qo.QueryCourseModel;
import com.xuecheng.api.content.model.vo.CourseBaseVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @ClassName: CourseBaseApi
 * @Description: TODO
 * @author: 王亚军
 * @date: 2021/12/8  17:34
 */
@Api(value = "课程基本信息查询",tags = "课程基本信息查询")
public interface CourseBaseApi {

    @ApiOperation("分页条件查询课程基本信息")
    PageVO queryCourtentList(PageRequestParams params, QueryCourseModel model);


    @ApiOperation("添加课程基本信息")
    CourseBaseDTO courseBasseDto (CourseBaseVO courseBaseVO);

    @ApiOperation("修改课程基本信息")
    CourseBaseDTO modifyCourseBase(CourseBaseVO courseBaseVO);

    @ApiOperation("根据id获取课程的基本信息")
    CourseBaseDTO getCourseBase(Long courseBaseId);


    @ApiOperation("根据id删除课程的基本信息")
    void removeCoursebase(Long courseBaseId);


    @ApiOperation("课程审核提交")
    void commitCourseBase(Long courseBaseId);


    @ApiOperation("课程预览")
    Object previewCouse(Long courseId,Long companyId);
}
